﻿using System; 
using System.Collections.Generic;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace BCEntity.TMS.AgentFlowRecord
{
    /// <summary>
    ///  供应商流水记录
    /// </summary>
    [Table("agentflowrecord")]
    public class AgentFlowRecordEntity
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        /// <summary>
        /// 供应商流水记录Id
        /// </summary>
        public long AgentFlowRecordId { get; set; }
        /// <summary>
        /// 供应商id
        /// </summary>
        public long AgentRecordId { get; set; }
        /// <summary>
        /// 供应商名称
        /// </summary>
        public string AgentName { get; set; }
        /// <summary>
        /// 流水类型
        /// </summary>
        public string FlowType { get; set; }
        /// <summary>
        /// 流水类型名称
        /// </summary>
        public string FlowTypeName { get; set; }
        /// <summary>
        /// 订单编号
        /// </summary>
        public string OrderNo { get; set; }
        /// <summary>
        /// 余额
        /// </summary>
        public decimal Balance { get; set; }
        /// <summary>
        /// 资金流向
        /// </summary>
        public string FlowDirection { get; set; }
        /// <summary>
        /// 金额
        /// </summary>
        public decimal Amount { get; set; }
        /// <summary>
        /// 支付渠道
        /// </summary>
        public string Channel { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 风险级别
        /// </summary>
        public string RiskLevel { get; set; }

    }
}
